from django.db import models


class Friend(models.Model):
    title = models.CharField(max_length=20)
    link_to = models.URLField()
    is_del = models.BooleanField(default=False)
    pub_time = models.DateTimeField(auto_now_add=True)

    class Meta:
        db_table = 'friend'
        verbose_name = "友链表"
        verbose_name_plural = verbose_name
